package com.blueocean_health.care.management.domain.base;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 
 * 护工表主表
 *
 * @Title: NurseWorkerInfo.java
 * @Package com.blueocean_health.care.management.domain.base
 * @author luxue
 * @date 2018年7月31日
 * @version V1.0.7
 */
@Table(name = "nurse_worker_info")
public class NurseWorkerInfo {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 护工编号
	 */
	@Column(name = "worker_id")
	private String workerId;

	/**
	 * 姓名
	 */
	@NotBlank(message = "姓名")
	@Column(name = "worker_name")
	private String workerName;

	/**
	 * 护工姓名拼音
	 */
	@Column(name = "worker_name_pin_yin")
	private String workerNamePinYin;

	/**
	 * 性别
	 */
	@NotBlank(message = "性别")
	private String sex;

	/**
	 * 年龄
	 */
	private Integer age;

	/**
	 * 手机号
	 */
	@NotBlank(message = "手机号")
	private String phone;

	/**
	 * 医院
	 */
	private String hospital;

	/**
	 * 省份
	 */
	private String province;

	/**
	 * 工作状态
	 */
	@NotBlank(message = "工作状态")
	@Column(name = "work_status")
	private String workStatus;

	/**
	 * 护工类型
	 */
	@NotBlank(message = "护工类型")
	@Column(name = "worker_type")
	private String workerType;

	/**
	 * 是否可用：1:可用 0:不可用
	 */
	@Column(name = "has_disable")
	private Boolean hasDisable = true;

	/**
	 * 是否删除: 1:删除 0:未删除
	 */
	@Column(name = "is_del")
	private Boolean isDel = false;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getWorkerId() {
		return workerId;
	}

	public void setWorkerId(String workerId) {
		this.workerId = workerId;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getWorkerNamePinYin() {
		return workerNamePinYin;
	}

	public void setWorkerNamePinYin(String workerNamePinYin) {
		this.workerNamePinYin = workerNamePinYin;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getHospital() {
		return hospital;
	}

	public void setHospital(String hospital) {
		this.hospital = hospital;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getWorkStatus() {
		return workStatus;
	}

	public void setWorkStatus(String workStatus) {
		this.workStatus = workStatus;
	}

	public String getWorkerType() {
		return workerType;
	}

	public void setWorkerType(String workerType) {
		this.workerType = workerType;
	}

	public Boolean getHasDisable() {
		return hasDisable;
	}

	public void setHasDisable(Boolean hasDisable) {
		this.hasDisable = hasDisable;
	}

	public Boolean getIsDel() {
		return isDel;
	}

	public void setIsDel(Boolean isDel) {
		this.isDel = isDel;
	}

	@Override
	public String toString() {
		return "NurseWorkerInfo [id=" + id + "]";
	}

}